<template>
  <div>
    {{ v }}
    <br />
    <el-button @click="identify">接口调用记录</el-button>
  </div>
</template>
<script lang="ts" setup>
import axiosInstance from "@/api/index";

const v = ref(0);
async function getDay() {
  const { data } = await axiosInstance.get("/track/getDayIdentify");
  v.value = data;
}
function identify() {
  for (let index = 0; index < 500; index++) {
    axiosInstance.post("/track/identify");
  }
}

onMounted(getDay)
</script>
